package com.aaa.Service;

import com.aaa.Dao.UserDao;
import com.aaa.Entity.User;
import com.aaa.util.DefaultMsg;
import com.aaa.util.TableData;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface UserService {

   public User findUAndP(User user);
   public TableData<User> page(String keyword,Integer page,Integer limit );
   public DefaultMsg saveOrUpdate(User user);
   public DefaultMsg delete(Long id);
}
